package io.qifan.desktop.client.state;

import io.qifan.desktop.api.protocol.request.ConnectReqMsg;

public interface OrderState {
    String ONLINE = "在线状态";
    String CONNECTED = "被连接状态";
    String CONNECTING = "主动连接状态";
    String OFFLINE = "离线状态";

    /**
     * 主动发起连接
     */
    void sendConnection(ConnectReqMsg connectReqMsg);

    /**
     * 接受连接
     */
    void receiveConnection(ConnectReqMsg connectReqMsg);

    /**
     * 断开连接
     */
    void sendDisconnection();

    /**
     * 发送图片
     */
    void sendPicture();

    /**
     * 接受图片
     */
    void receivePicture();

    /**
     * 发送鼠标命令
     */
    void sendMouseCommand();

    /**
     * 接收鼠标命令
     */
    void receiveMouseCommand();

    /**
     * 发送键盘命令
     */
    void sendKeyboardCommand();

    /**
     * 接收键盘命令
     */
    void receiveKeyboardCommand();
}
